package com.dt.global.web.mar.Newscentrality;

import java.util.List;

import org.hibernate.HibernateException;

import com.dt.global.entitys.bo.TWebCoreArticle;
import com.dt.global.entitys.bo.TWebCoreChannel;

/**
 * 首页新闻查询的接口
 * @author MWG
 *
 */
public interface NewscentralityMar {
	/**
	 * 根据栏目Pid查询栏目信息
	 */
	public List<TWebCoreChannel> getTWebCoreChannelPid(String pid)throws HibernateException;
	/**
	 * 根据栏目Nid查询栏目信息
	 */
	public List<TWebCoreChannel> getTWebCoreChannelNid(String nid)throws HibernateException;
	/**
	 * 根据栏目id查询栏目信息
	 */
	public TWebCoreChannel getTWebCoreChannelId(String ChannelId)throws HibernateException;
	/**
	 * 根据栏目ＩＤ查询相关新闻
	 */
	public List<TWebCoreArticle> getTWebCoreArticle(String ChannelId)throws HibernateException;
	/**
	 * 分组查询nid
	 */
	public List<String>  getTWebCoreChannelGroupByNid(String pid)throws HibernateException;
}
